<?php
/**
 * 
 *
 * PHP version 5.3.x
 *
 * @category 
 * @package  
 * @author   gouki <gouki.xiao@gmail.com>
 */

/**
 * SaeFileLogRoute.php
 *
 * @category 
 * @package  
 * @author   gouki <gouki.xiao@gmail.com>
 * @version $Id$ 
 * @created 2011-11-23 09:33
 */ 
class SaeFileLogRoute extends CFileLogRoute{
    private $_logPath = "saemc://";
    
	/**
	 * @param string $value directory for storing log files.
	 * @throws CException if the path is invalid
	 */
	public function setLogPath($value)
	{
        $this->_logPath = $value;
//		$this->_logPath=realpath($value);
//		if($this->_logPath===false || !is_dir($this->_logPath) || !is_writable($this->_logPath))
//			throw new CException(Yii::t('yii','CFileLogRoute.logPath "{path}" does not point to a valid directory. Make sure the directory exists and is writable by the Web server process.',
//				array('{path}'=>$value)));
	}
}
